package com.ZengQi.event.entity;

/**
 * 与数据库中user表对应的实体类
 */
public class User {
    /**
     * user表的主键用以确保唯一性
     */
    private int userId;
    /**
     * 登录的手机号
     */
    private String loginPnum;
    /**
     * 登录的密码
     */
    private String loginPwd;
    /**
     * 用户姓名
     */
    private String userName;
    /**
     * 用户性别
     */
    private String userSex;
    /**
     *用户生日
     */
    private String userBirthday;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getLoginPnum() {
        return loginPnum;
    }

    public void setLoginPnum(String loginPnum) {
        this.loginPnum = loginPnum;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(String userBirthday) {
        this.userBirthday = userBirthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", loginPnum='" + loginPnum + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                ", userBirthday='" + userBirthday + '\'' +
                '}';
    }
}
